package com.clkj.zhonghui.pojo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author yawang
 * @date 2024-07-15 08:49:08 
 */
@ApiModel( value ="t_zh_user" )
@Table( name ="t_zh_user" )
public class User  implements Serializable {

    @Id
   	@Column(name = "user_id",updatable = false)
	@ApiModelProperty( value="null")
	private Integer userId;

   	@Column(name = "user_name" )
	@ApiModelProperty( value="名称")
	private String userName;

   	@Column(name = "user_img" )
	@ApiModelProperty( value="头像")
	private String userImg;

   	@Column(name = "openId" )
	@ApiModelProperty( value="null")
	private String openId;

   	@Column(name = "shop_id" )
	@ApiModelProperty( value="门店ID")
	private Integer shopId;

   	@Column(name = "unionId" )
	@ApiModelProperty( value="null")
	private String unionId;

   	@Column(name = "user_tel" )
	@ApiModelProperty( value="电话")
	private String userTel;

   	@Column(name = "share_id" )
	@ApiModelProperty( value="null")
	private Integer shareId;

   	@Column(name = "if_down" )
	@ApiModelProperty( value="null")
	private Integer ifDown;

    /**
     * 注册时间
     */
    @Column(name = "register_time")
    @ApiModelProperty(value = "注册时间")
    private String registerTime;

    /**
     * 推荐人
     */
    @Column(name = "referrer_id")
    @ApiModelProperty(value = "推荐人")
    private Integer referrerId;

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getUserImg() {
    return userImg;
  }

  public void setUserImg(String userImg) {
    this.userImg = userImg;
  }


  public String getOpenId() {
    return openId;
  }

  public void setOpenId(String openId) {
    this.openId = openId;
  }


  public Integer getShopId() {
    return shopId;
  }

  public void setShopId(Integer shopId) {
    this.shopId = shopId;
  }


  public String getUnionId() {
    return unionId;
  }

  public void setUnionId(String unionId) {
    this.unionId = unionId;
  }


  public String getUserTel() {
    return userTel;
  }

  public void setUserTel(String userTel) {
    this.userTel = userTel;
  }


  public Integer getShareId() {
    return shareId;
  }

  public void setShareId(Integer shareId) {
    this.shareId = shareId;
  }


  public Integer getIfDown() {
    return ifDown;
  }

  public void setIfDown(Integer ifDown) {
    this.ifDown = ifDown;
  }


    public String getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }

    public Integer getReferrerId() {
        return referrerId;
    }

    public void setReferrerId(Integer referrerId) {
        this.referrerId = referrerId;
    }

}
